Socket
Socket
Sign inDemoInstall

functions-have-names

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    functions-have-names

Does this JS environment support the `name` property on functions?


Version published
Maintainers
1
Install size
16.3 kB
Created

Changelog

Source

v1.2.3 - 2022-04-19

Fixed

Commits

  • [actions] reuse common workflows 4ed274a
  • [actions] use node/install instead of node/run; use codecov action 96dfcaa
  • [Dev Deps] update eslint, @ljharb/eslint-config, aud, auto-changelog, tape 9e674f8
  • [readme] add github actions/codecov badges; update URLs d913f5b
  • [Dev Deps] update eslint, @ljharb/eslint-config, aud, auto-changelog, safe-publish-latest, tape f61058f
  • [actions] update codecov uploader 3348839
  • [Dev Deps] update eslint, @ljharb/eslint-config, safe-publish-latest, tape ee1a321
  • [Dev Deps] update eslint, @ljharb/eslint-config, tape b8dc1a2
  • [Dev Deps] update @ljharb/eslint-config, tape 0e825c4
  • [meta] use prepublishOnly script for npm 7+ 9489d66

Readme

Source

functions-have-names Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Does this JS environment support the name property on functions?

Example

var functionsHaveNames = require('functions-have-names');
var assert = require('assert');

assert.equal(functionsHaveNames(), true); // will be `false` in IE 6-8

Tests

Simply clone the repo, npm install, and run npm test

Keywords

FAQs

Last updated on 19 Apr 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc